package com.yfqy.admin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @Author: 梁二东
 * @Date: 2025/5/1 12:40
 * @Description:
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class YFQYApplication {

    private static final Logger logger = LoggerFactory.getLogger(YFQYApplication.class);

    public static void main(String[] args) {
        try {
            SpringApplication.run(YFQYApplication.class);
            logger.info("service is running...");
        } catch (Exception e) {
            logger.error("YFQYApplication服务启动发生异常!", e);
        }
    }
}
